package com.seuic.scanner2d.activity;

import com.seuic.scanner2d.R;
import com.seuic.scanner2d.Scanner2D4500Manager;
import com.seuic.scanner2d.type.Scanner2DModeType;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

public class Scanner2DActivity extends Activity {
	public static final String TAG  = "Scanner2DActivity";
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.scanner2d_activity);
	}
	
	public void scanner2D4500Click(View v){
		Scanner2D4500Manager scanner2D4500Manager = Scanner2D4500Manager.instance(this);
		scanner2D4500Manager.startScanner2D(Scanner2DModeType.MODE_DECODE);
		Log.d(TAG, scanner2D4500Manager.getBarcodeInfo().toString());
	}
	
	
}
